#include "stdafx.h"

#include <MyFC/Panel.h>

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

namespace My {

void Panel::HandlePaint(CDC * pDC, const CRect & r)
{
	CRect rClient = ClientRect();

	CBrush brush; brush.CreateSysColorBrush(COLOR_BTNFACE);
	pDC->FillRect(&rClient, &brush);
	pDC->Draw3dRect(&rClient, GetSysColor(COLOR_BTNHILIGHT), GetSysColor(COLOR_BTNSHADOW));
}

} // My
